import request from '@/utils/request'

// 查询员工列表
export function option(params) {
    return request({
        url: '/basic/staff/option',
        method: 'get',
        params
    })
}

//查询公司工程师或经理列表
export function optionStaffByCompany(companyId, roleKey) {
    return request({
        url: '/basic/staff/optionByCompany',
        method: 'get',
        params: {
            companyId,
            roleKey
        }
    })
}